package com.fortune.dal.dao;

import com.fortune.dal.model.PosMachine;

import java.util.List;

public interface PosMachineDAO {

    void insert(PosMachine posMachine) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(PosMachine posMachine) throws Exception;

    List<PosMachine> queryByModel(PosMachine posMachine) throws Exception;

    PosMachine queryById(Integer id) throws Exception;
}
